    import http from '@/utils/http.js'
    // 获取监控视频接口
    export const getVideoUrlApi = (id) => {
      return http({
        method:'get',
        url:`/monitoring/getVideoUrl?serialNumber=${id}`
      })
    }
    // 首页新闻接口
    export const getNewsApi = () => {
      return http({
        method:'get',
        url:'/news/list'
      })
    }
    // 传感器接口
    export const getSensorDataApi = () => {
      return http({
        method:'get',
        url:'/sensordata/list'
      })
    }
    
    // 地块文本接口
    export const getLandListApi = (id) => {
      return http({
        method:'get',
        url:`/land/list?id=${id}`
      })
    }
  